package com.cdtu.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.cdtu.entity.SysDept;
import com.cdtu.service.SysDeptService;
import com.cdtu.mapper.SysDeptMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
* @author Sakura
* @description 针对表【sys_dept】的数据库操作Service实现
* @createDate 2023-08-08 16:07:43
*/
@Service
public class SysDeptServiceImpl extends ServiceImpl<SysDeptMapper, SysDept>
    implements SysDeptService{
@Resource
private SysDeptMapper sysDeptMapper;


    @Override
    public List<SysDept> queryDeptByName(String s) {
        return sysDeptMapper.queryDeptByName(s);
    }
}




